/*
 * $Id: $
 */
package org.rcgwt.client.ui.grid.theme;

import org.rcgwt.client.ui.grid.internal.model.IHeaderModel;
import org.rcgwt.client.ui.grid.model.IGridWidget;

/**
 * 
 * @author Olivier Oeuillot (latest modification by $Author: $)
 * @version $Revision: $ $Date: $
 */
public class VistaGridTheme extends DefaultGridTheme {

    public static final IGridTheme SINGLETON = new VistaGridTheme();

    @Override
    public int getHorizontalHeaderHeight(IHeaderModel headerModel) {
        return 23;
    }

    @Override
    protected String getGridThemeStyleName() {
        return "rcgwt-grid-theme-vista";
    }

    @Override
    protected boolean hasRowDifferentStyleNames() {
        return true;
    }

    @Override
    protected boolean isOverSupported(IGridWidget gridWidget) {
        return true;
    }
}
